package com.xd.core.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xd.core.business.entity.Information;
import com.xd.core.business.vo.InformationVo;
import com.xd.core.system.dto.DeleteBatchFilesDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用印资料表 Mapper 接口
 * </p>
 *
 * @author zch
 * @since 2025-06-24
 */
public interface InformationMapper extends BaseMapper<Information> {

    List<InformationVo> getInfomationList(@Param("uid") String uid, @Param("typeOfSealUsed") String typeOfSealUsed);

    void deleteBatchFiles(@Param("dto") DeleteBatchFilesDto dto);

    List<Information> selectInformationList(@Param("uid") String uid,@Param("typeOfSealUsed") String typeOfSealUsed);

    List<String> getVouchers(Integer surrenderId);

    void insertRefundVoucher(@Param("virtualPath") String virtualPath,@Param("surrenderId") Integer surrenderId,@Param("fileName") String fileName);

    void updateFileName(@Param("newFilename") String newFilename,@Param("url") String url,@Param("uid") String uid);
}
